package com.cloudbroker.bcs.platform.dav.middle.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.cloudbroker.bcs.common.entity.StatusUpdatable;
/**
 * 
 * @author fang
 *
 */
public class ExtendApp extends StatusUpdatable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long extend_app_id;
	private Long plugs_id;
	private Long broker_id;
	private String name;
	private String creater;
	private Date start_time;
	private Date valid_time;
	private Long sort;
	private BigDecimal price;
	private Integer extend_app_status;
	private String link;
	private Integer count;
	private Integer used;
	private Integer charge_mod;
	private Integer tenant_id;
	private String term_type;
	private Integer must_login;
	
	private String term_type_num; //只做sql查询参数
	
	
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getTenant_id() {
		return tenant_id;
	}
	public void setTenant_id(Integer tenant_id) {
		this.tenant_id = tenant_id;
	}
	public Long getBroker_id() {
		return broker_id;
	}
	public void setBroker_id(Long broker_id) {
		this.broker_id = broker_id;
	}

	public Long getExtend_app_id() {
		return extend_app_id;
	}
	public void setExtend_app_id(Long extend_app_id) {
		this.extend_app_id = extend_app_id;
	}
	public Long getPlugs_id() {
		return plugs_id;
	}
	public void setPlugs_id(Long plugs_id) {
		this.plugs_id = plugs_id;
	}
	public Date getStart_time() {
		return start_time;
	}
	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}
	public Date getValid_time() {
		return valid_time;
	}
	public void setValid_time(Date valid_time) {
		this.valid_time = valid_time;
	}
	
	public Long getSort() {
		return sort;
	}
	public void setSort(Long sort) {
		this.sort = sort;
	}
	public Integer getExtend_app_status() {
		return extend_app_status;
	}
	public void setExtend_app_status(Integer extend_app_status) {
		this.extend_app_status = extend_app_status;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Integer getUsed() {
		return used;
	}
	public void setUsed(Integer used) {
		this.used = used;
	}
	public Integer getCharge_mod() {
		return charge_mod;
	}
	public void setCharge_mod(Integer charge_mod) {
		this.charge_mod = charge_mod;
	}
    
    public String getTerm_type() {
        return term_type;
    }
    public void setTerm_type(String term_type) {
        this.term_type = term_type;
    }
    
    public String getTerm_type_num() {
        return term_type_num;
    }
    public void setTerm_type_num(String term_type_num) {
        this.term_type_num = term_type_num;
    }
    
    public String getCreater() {
        return creater;
    }
    public void setCreater(String creater) {
        this.creater = creater;
    }
    
    public Integer getMust_login() {
        return must_login;
    }
    public void setMust_login(Integer must_login) {
        this.must_login = must_login;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("ExtendApp [extend_app_id=").append(extend_app_id).append(", plugs_id=").append(plugs_id)
                .append(", broker_id=").append(broker_id).append(", name=").append(name).append(", creater=")
                .append(creater).append(", start_time=").append(start_time).append(", valid_time=")
                .append(valid_time).append(", sort=").append(sort).append(", price=").append(price)
                .append(", extend_app_status=").append(extend_app_status).append(", link=").append(link)
                .append(", count=").append(count).append(", used=").append(used).append(", charge_mod=")
                .append(charge_mod).append(", tenant_id=").append(tenant_id).append(", term_type=")
                .append(term_type).append(", must_login=").append(must_login).append(", term_type_num=")
                .append(term_type_num).append("]");
        return builder.toString();
    }

}
